Skip to content

Add tuples to frontend#2

Open
matviichukv wants to merge 4 commits intomainfrom
add-tuples-to-frontend
Open

Add tuples to frontend#2
matviichukv wants to merge 4 commits intomainfrom
add-tuples-to-frontend

Conversation

@matviichukv
Copy link
Collaborator

Adds tuples to frontend of the language. You can create a tuple with (value a b c ...) and dereference with (#n tuple), where n is a non-negative integer (0, 1, etc.).

Tuples can only contain atoms so if you need to return multiple arrays, wrap them in boxes.

@matviichukv matviichukv requested a review from liam923 March 25, 2024 18:12
@matviichukv matviichukv self-assigned this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant